home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / src / s / sol2-4.h < prev    next >
C/C++ Source or Header  |  1994-08-11  |  481b  |  20 lines

  1. /* Handle Solaris 2.4.  */
  2.  
  3. #include "sol2-3.h"
  4.  
  5. #define SOLARIS2_4
  6.  
  7. /* Solaris 2.4 has a broken vfork.  So we don't use it;
  8.    we use the alternate definition in sysdep.c.
  9.    But a header file has a declaration 
  10.    that conflicts with the definition of vfork in sysdep.c.
  11.    This kludge should prevent the conflict.  */
  12. #define pid_t int
  13.  
  14. /* Get rid of -traditional and let const really do its thing.  */
  15.  
  16. #ifdef __GNUC__
  17. #undef C_SWITCH_SYSTEM
  18. #undef const
  19. #endif /* __GNUC__ */
  20.